package com.cheng.im.service.group.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
@ApiModel("IM转让群请求类")
public class TransferGroupReq extends RequestBase {

    @NotNull(message = "群id不能为空")
    @ApiModelProperty("群ID")
    private String groupId;

    @ApiModelProperty("新群主id")
    private String ownerId;

}
